function *generator() {}

var anonymous = function *() {};

var shorthand = { *generator() {} };
